package com.czh.subject.infra.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czh.subject.infra.basic.entity.SubjectRadio;
import java.util.List;

/**
 * 单选题信息表(SubjectRadio)表服务接口
 *
 * @author caozaihui
 * @since 2024-07-31 00:16:05
 */
public interface SubjectRadioService extends IService<SubjectRadio> {

    /** 
     * 
     * @param id 主键
     * @author caozaihui  
     * @description  通过ID查询单条数据
     * @date 2024-07-31 00:16:05
     * @return 实例对象
     */
    public SubjectRadio selectSubjectRadioById (Long id);
        
    /**
     * @param subjectRadio 实例对象
     * @return 实例对象
     * @author caozaihui
     * @description 分页查询数据
     * @date 2024-07-31 00:16:05
     */
    public List<SubjectRadio> querySubjectRadioList (SubjectRadio subjectRadio);
    
    
   /** 
     * 
     * @param subjectRadio 实例对象
     * @author caozaihui  
     * @description  新增数据
     * @date 2024-07-31 00:16:05
     * @return 实例对象
     */
    public int insert(SubjectRadio subjectRadio);
    
   /** 
     * 
     * @param subjectRadiodto 实例对象
     * @author caozaihui  
     * @description 修改数据并返回
     * @date 2024-07-31 00:16:05
     * @return 实例对象
     */
    public int update(SubjectRadio subjectRadio);
    
    
    /**
     *
     * @param ids 主键
     * @author caozaihui 
     * @description  通过主键删除数据
     * @date 2024-07-31 00:16:05
     * @return
     */
    public int deleteById(List<Long> ids);

    boolean batchInsert(List<SubjectRadio> subjectRadioList);
}

